package com.dyh.quickdemo.plugin.u1;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class CyberDragonServiceNova implements CyberDragonServiceCore {

    @Autowired
    CyberDragonServiceHerz cyberDragonServiceHerz;

    @Autowired
    CoreServicePlugin_1 servicePlugin_1;

    @Override
    public void coreEin(long id) {
        servicePlugin_1.beforeCoreEin();
        cyberDragonServiceHerz.coreEin(id);
    }

    @Override
    public int coreZwei(String str) {
        return cyberDragonServiceHerz.coreZwei(str);
    }
}
